package com.jzr.bedside.db1.model;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
/**
 * <p>
 * 住院记录
 * </p>
 *
 * @author henry
 * @since 2019-08-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="TPatientView对象", description="住院记录")
public class TPatientView implements Serializable {
    private static final long serialVersionUID = 1L;
    public static final String TableName = "t_patient_view";
    public static final String Id_ = "id";
    public static final String PatientCode_ = "patient_code";
    public static final String CureNo_ = "cure_no";
    public static final String MainDiag_ = "main_diag";
    public static final String NowCase_ = "now_case";
    public static final String PastCase_ = "past_case";
    public static final String PersCase_ = "pers_case";
    public static final String MarryCase_ = "marry_case";
    public static final String FamilyCase_ = "family_case";
    public static final String PhysExam_ = "phys_exam";
    public static final String SpecialExam_ = "special_exam";
    public static final String AidExam_ = "aid_exam";
    public static final String FirstDiag_ = "first_diag";
    public static final String CorrectDiag_ = "correct_diag";
    public static final String HospCase_ = "hosp_case";
    public static final String InpatientDiag_ = "inpatient_diag";
    public static final String UpdateTime_ = "update_time";
    public static final String UpdateBy_ = "update_by";
    public static final String IsDel_ = "is_del";


    @ApiModelProperty(value = "ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "病人编号")
    @TableField("patient_code")
    private String patientCode;

    @ApiModelProperty(value = "住院号")
    @TableField("cure_no")
    private String cureNo;

    @ApiModelProperty(value = "主诉")
    @TableField("main_diag")
    private String mainDiag;

    @ApiModelProperty(value = "现病史")
    @TableField("now_case")
    private String nowCase;

    @ApiModelProperty(value = "过去病史")
    @TableField("past_case")
    private String pastCase;

    @ApiModelProperty(value = "个人病史")
    @TableField("pers_case")
    private String persCase;

    @ApiModelProperty(value = "婚姻病史")
    @TableField("marry_case")
    private String marryCase;

    @ApiModelProperty(value = "家族病史")
    @TableField("family_case")
    private String familyCase;

    @ApiModelProperty(value = "体格检查")
    @TableField("phys_exam")
    private String physExam;

    @ApiModelProperty(value = "专科检查")
    @TableField("special_exam")
    private String specialExam;

    @ApiModelProperty(value = "辅助检查")
    @TableField("aid_exam")
    private String aidExam;

    @ApiModelProperty(value = "初步诊断")
    @TableField("first_diag")
    private String firstDiag;

    @ApiModelProperty(value = "修正诊断")
    @TableField("correct_diag")
    private String correctDiag;

    @ApiModelProperty(value = "住院记录")
    @TableField("hosp_case")
    private String hospCase;

    @ApiModelProperty(value = "入院诊断")
    @TableField("inpatient_diag")
    private String inpatientDiag;

    @ApiModelProperty(value = "更新时间")
    @TableField("update_time")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "更新人")
    @TableField("update_by")
    private Integer updateBy;

    @ApiModelProperty(value = "删除标记")
    @TableField("is_del")
    private Boolean isDel;


}
